Skip to content

Conversation

@peytondmurray
Copy link
Collaborator

This PR removes the return_nulls kwarg from fetchdictarray, and changes the default argument of null_suffix to None. The docstring has been updated accordingly.

No functionality is lost by this change because the boolean return_nulls simply enabled or disabled null-column inclusion, which is now indicated by passing null_suffix=None.

Closes #39.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR simplifies the fetchdictarray API by removing the redundant return_nulls boolean parameter. Instead, the presence or absence of null columns is now controlled by whether null_suffix is set to None (to exclude null columns) or a string value (to include them). The default behavior changes from excluding null columns to also excluding them, but through a simpler interface.

Key changes:

  • Removed the return_nulls parameter from the function signature and implementation
  • Changed the default value of null_suffix from "_isnull" to None in the C++ code
  • Updated the docstring to reflect the new API and improved documentation formatting

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@peytondmurray peytondmurray force-pushed the 39-remove-return-nulls-kwarg branch from 380eb98 to dbccc81 Compare January 5, 2026 20:27
@peytondmurray peytondmurray merged commit 5f15ca0 into Quansight:main Jan 5, 2026
25 checks passed
@peytondmurray peytondmurray deleted the 39-remove-return-nulls-kwarg branch January 5, 2026 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RFC: fetchdictarray API change

1 participant